<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">











<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Build Force Tomcat Maven Plugin - Frequently Asked Questions</title>
    <style type="text/css" media="all">
      @import url("./css/maven-base.css");
      @import url("./css/maven-theme.css");
      @import url("./css/site.css");
    </style>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
      </head>
  <body class="composite">
    <div id="banner">
                    <span id="bannerLeft">
    
            Build Force Tomcat Maven Plugin
    
            </span>
                    <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="breadcrumbs">
          
  

  
    
  
  
    
            <div class="xleft">
        Last Published: 2009-11-22
                      </div>
            <div class="xright">      
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
    <div id="leftColumn">
      <div id="navcolumn">
           
  

  
    
  
  
    
                   <h5>Overview</h5>
            <ul>
              
    <li class="none">
                    <a href="index.html">Introduction</a>
          </li>
              
    <li class="none">
                    <a href="usage.html">Usage</a>
          </li>
              
    <li class="none">
                    <a href="apidocs/index.html">Javadoc</a>
          </li>
              
    <li class="none">
              <strong>FAQ</strong>
        </li>
          </ul>
              <h5>Goals</h5>
            <ul>
              
    <li class="none">
                    <a href="plugin-info.html">Overview of Goals</a>
          </li>
              
    <li class="none">
                    <a href="examples/management.html">Management Goals</a>
          </li>
              
    <li class="none">
                    <a href="examples/deployment.html">Deployment Goals</a>
          </li>
          </ul>
              <h5>Project Documentation</h5>
            <ul>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-info.html">Project Information</a>
                </li>
              
                
              
      
            
      
            
      
            
      
            
      
            
      
            
      
            
      
              
        <li class="collapsed">
                    <a href="project-reports.html">Project Reports</a>
                </li>
          </ul>
                                                 
                        
                        
            <a href="../../" title="Google Code" class="poweredBy">
                            <img alt="Google Code" src="images/code_logo.png" />
            </a>
                                
                        
                        
            <a href="http://maven.apache.org/" title="Maven" class="poweredBy">
                            <img alt="Maven" src="http://maven.apache.org/images/logos/maven-feather.png" />
            </a>
                               
  

  
    
  
  
    
        </div>
    </div>
    <div id="bodyColumn">
      <div id="contentBox">
        <div class="section"><h2><a name="top">Frequently Asked Questions</a></h2>
<ol type="1"><li><a href="#Are_there_any_pre-rerequisites">Are there any pre-rerequisites?</a></li>
<li><a href="#Does_this_plugin_support_remote_deployment">Does this plugin support remote deployment?</a></li>
<li><a href="#How_can_I_get_the_plugin">How can I get the plugin?</a></li>
<li><a href="#Will_this_plugin_work_with_Maven_3.x">Will this plugin work with Maven 3.x?</a></li>
<li><a href="#Whats_different_compared_to_Codehaus_maven-tomcat-plugin">What's different compared to Codehaus' maven-tomcat-plugin?</a></li>
</ol>
</div>
<dl><dt><a name="Are_there_any_pre-rerequisites">Are there any pre-rerequisites?</a></dt>
<dd>
                <p>Yes, you should have Tomcat installed on your local file system and you also
                   need to define a ${tomcat.home} property in your pom.xml or settings.xml.
                   At the moment we don't support deploying to a Tomcat web container which
                   has been specified as a dependency (like for example the Maven Jetty plugin).</p>
            <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table><hr />
</dd>
<dt><a name="Does_this_plugin_support_remote_deployment">Does this plugin support remote deployment?</a></dt>
<dd>
                <p>Currently - no, but it could be supported in future versions.</p>
            <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table><hr />
</dd>
<dt><a name="How_can_I_get_the_plugin">How can I get the plugin?</a></dt>
<dd>
            <p>You need to define a pluginRepository section in your project's pom.xml:<br></br>
            <div class="source"><pre>
    &lt;project&gt;
        ...
        &lt;pluginRepositories&gt;
            &lt;pluginRepository&gt;
                &lt;id&gt;google-build-force-m2-releases&lt;/id&gt;
                &lt;name&gt;Google Releases Repository for Build Force M2 plugins&lt;/name&gt;
                &lt;url&gt;https://build-force.googlecode.com/svn/maven2/releases&lt;/url&gt;
                &lt;snapshots&gt;
                    &lt;enabled&gt;false&lt;/enabled&gt;
               &lt;/snapshots&gt;
           &lt;/pluginRepository&gt;
       &lt;/pluginRepositories&gt;
        ...
   &lt;/project&gt;
           </pre>
</div>

               </p>
            <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table><hr />
</dd>
<dt><a name="Will_this_plugin_work_with_Maven_3.x">Will this plugin work with Maven 3.x?</a></dt>
<dd>
                <p>Yes!</p>
            <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table><hr />
</dd>
<dt><a name="Whats_different_compared_to_Codehaus_maven-tomcat-plugin">What's different compared to Codehaus' maven-tomcat-plugin?</a></dt>
<dd>
                <p>The Codehaus maven-tomcat-plugin works with WAR files and requires
                a Tomcat which contains the manager application. Our plugin allows web developers
                to easily modify web resources and have them deployed to their Tomcat (with or without restarting it).
                At the moment our plugin only works with a Tomcat already installed on your local file system.</p>
            <table border="0"><tr><td align="right"><a href="#top">[top]</a></td></tr></table></dd>
</dl>

      </div>
    </div>
    <div class="clear">
      <hr/>
    </div>
    <div id="footer">
      <div class="xright">&#169;  
          2009
    
          
  

  
    
  
  
    
  </div>
      <div class="clear">
        <hr/>
      </div>
    </div>
  </body>
</html>
